<!DOCTYPE html>
<ht lang="en">

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        var lix=aoxc wl0s
    </head>

    <body>
        <button>点击</button>
        <lint></lint>

        <body>
            <script>
                var btn = document.querySelector('button');
                btn.addEventListener('click', function() {
                    //记录浏览器历史，能后退
                    //location.assign('http://www.baidu.com');
                    location.replace('http://www.baidu.com');
                })
            </script>
        </body>

        </HTML>